|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.scene.Spatial
com.jme3.scene.Node
ga.view.streaming.nodes.AnchorNode<T>
T
- The generic type of the individuals.public class AnchorNode<T extends IIndividual<T>>
This provides an anchor nodes that will pull attached nodes through the scene.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme3.scene.Spatial |
---|
com.jme3.scene.Spatial.BatchHint, com.jme3.scene.Spatial.CullHint |
Field Summary | |
---|---|
private PanelNode<T> |
attachedNode
|
private com.jme3.bullet.control.RigidBodyControl |
control
|
private com.jme3.bullet.PhysicsSpace |
physicsSpace
|
private com.jme3.bullet.joints.Point2PointJoint |
sliderJoint
|
Fields inherited from class com.jme3.scene.Node |
---|
children |
Fields inherited from class com.jme3.scene.Spatial |
---|
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_LIGHTLIST, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldTransform |
Constructor Summary | |
---|---|
AnchorNode(com.jme3.bullet.PhysicsSpace physicsSpace)
Instantiates a new anchor node. |
Method Summary | |
---|---|
void |
attachJoint(PanelNode<T> node)
Attachs a joint to the given node. |
void |
detachJoint()
Detaches the joint to the node. |
PanelNode<T> |
getAttachedNode()
Gets the attached node. |
com.jme3.bullet.control.RigidBodyControl |
getControl()
Gets the control. |
protected void |
setParent(com.jme3.scene.Node parent)
|
Methods inherited from class com.jme3.scene.Node |
---|
attachChild, attachChildAt, breadthFirstTraversal, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLightListRefresh, setLodLevel, setMaterial, setModelBound, setTransformRefresh, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, updateWorldBound, write |
Methods inherited from class com.jme3.scene.Spatial |
---|
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, toString, updateWorldLightList, updateWorldTransforms, worldToLocal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final com.jme3.bullet.PhysicsSpace physicsSpace
private com.jme3.bullet.joints.Point2PointJoint sliderJoint
private final com.jme3.bullet.control.RigidBodyControl control
private PanelNode<T extends IIndividual<T>> attachedNode
Constructor Detail |
---|
public AnchorNode(com.jme3.bullet.PhysicsSpace physicsSpace)
physicsSpace
- the physics spaceMethod Detail |
---|
public void attachJoint(PanelNode<T> node)
node
- the nodepublic com.jme3.bullet.control.RigidBodyControl getControl()
public void detachJoint()
protected void setParent(com.jme3.scene.Node parent)
setParent
in class com.jme3.scene.Spatial
public PanelNode<T> getAttachedNode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |